home *** CD-ROM | disk | FTP | other *** search
/ Unreal Tournament Game Programming for Teens / UnrealTournamentGameProgrammingForTeens.iso / Chapter Files / Chapter06 / CommandTriggerV1_01.txt < prev    next >
Text File  |  2006-10-10  |  518b  |  18 lines

  1. //=============================================================
  2. // CommandTrigger.
  3. //=============================================================
  4. class CommandTrigger extends Trigger
  5.     placeable;
  6.     //#1
  7.     var (Message) public string StandUpMessage;
  8.     var (Message) public string CommandMessage;
  9.     //#2 
  10.     var private string DefaultMessage;
  11.     
  12.     function PostBeginPlay(){
  13.        Super.PostBeginPlay();
  14.  
  15.        DefaultMessage = "Move yet again:";   
  16.        Message = StandUpMessage;
  17.     }
  18.